home *** CD-ROM | disk | FTP | other *** search
/ Workbench Add-On / Workbench Add-On - Volume 1.iso / Dev / Oberon / Install2 < prev    next >
Text File  |  1995-08-24  |  2KB  |  80 lines

  1. (if (= @language "deutsch")
  2.     (
  3.         (SET Intro  "Wilkommen zum Installer-Script für A-Oberon.\n\n WARNUNG: A-Oberon braucht ca 7MB freien Plattenplatz.")
  4.         (SET Where  "Wohin soll A-Oberon hinkopiert werden ? Es wird ein Verzeichnis namens A-Oberon angelegt.")
  5.         (SET Addit
  6.             (CAT "Nun Werden folgende Zeilen in ihre User-Startup angehängt\n\n"
  7.                  "assign OLIB:     A-Oberon:Olib \n"
  8.                  "assign LIBS:     A-Oberon:libs add \n"
  9.                  "Copy A-OBERON:env-archive TO ENV: ALL NOREQ QUIET \n"
  10.                  "assign c: A-Oberon: Add \n"
  11.             )
  12.         )
  13.     )
  14. )
  15.  
  16.  
  17.  
  18. (if (= @language "english")
  19.     (
  20.         (SET Intro  "Welcome to the installer-script for A-Oberon.\n\n WARNING: A-Oberon needs about 7MB on your hard-disk.")
  21.         (SET Where  "Where do you want to place A-Oberon ? A drawer called A-Oberon will be created.")
  22.         (SET Addit
  23.             (CAT "Now the following lines will be added to your s:user-startup\n\n"
  24.                  "assign OLIB:     A-Oberon:Olib \n"
  25.                  "assign LIBS:     A-Oberon:libs add \n"
  26.                  "Copy A-OBERON:env-archive TO ENV: ALL NOREQ QUIET \n"
  27.                  "assign c: A-Oberon: Add \n"
  28.             )
  29.         )
  30.     )
  31. )
  32.  
  33.  
  34. (MESSAGE Intro)
  35.  
  36. (SET BasDir
  37.     (ASKDIR
  38.         (PROMPT Where)
  39.         (HELP   "")
  40.         (DEFAULT "sys:")
  41.     )
  42. )
  43.  
  44. (SET BinDir (TACKON BasDir "A-Oberon"))
  45.  
  46. (RUN (CAT "makedir \""BinDir"\""))
  47.  
  48. (COPYFILES
  49.     (SOURCE ":dev/oberon/")
  50.     (DEST   BinDir)
  51.     (ALL)
  52.     (INFOS)
  53. )
  54.  
  55. (STARTUP    @app-name
  56.     (COMMAND
  57.             (CAT
  58.                  "assign A-Oberon: \""BinDir"\" \n"
  59.                  "assign OLIB:     A-Oberon:Olib \n"
  60.                  "assign LIBS:     A-Oberon:libs add \n"
  61.                  "Copy A-OBERON:env-archive TO ENV: ALL NOREQ QUIET \n"
  62.                  "assign c: A-Oberon: Add \n"
  63.             )
  64.  
  65.         )
  66.  
  67.     (PROMPT Addit)
  68.     (HELP   "")
  69. )
  70.  
  71. (RUN
  72.                 (CAT
  73.                  "assign A-Oberon: \""BinDir"\" \n"
  74.                  "assign OLIB:     A-Oberon:Olib \n"
  75.                  "assign LIBS:     A-Oberon:libs add \n"
  76.                  "Copy A-OBERON:env-archive TO ENV: ALL NOREQ QUIET\n"
  77.                  "assign c: A-Oberon: Add \n"
  78.             )
  79. )
  80.